/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.incomerecord.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.incomerecord.entity.IncomeRecord;
import com.jeeplus.modules.incomerecord.mapper.IncomeRecordMapper;

/**
 * 购物收益记录Service
 * @author lxj
 * @version 2020-11-06
 */
@Service
@Transactional(readOnly = true)
public class IncomeRecordService extends CrudService<IncomeRecordMapper, IncomeRecord> {

	public IncomeRecord get(String id) {
		return super.get(id);
	}
	
	public List<IncomeRecord> findList(IncomeRecord incomeRecord) {
		return super.findList(incomeRecord);
	}
	
	public Page<IncomeRecord> findPage(Page<IncomeRecord> page, IncomeRecord incomeRecord) {
		return super.findPage(page, incomeRecord);
	}
	
	@Transactional(readOnly = false)
	public void save(IncomeRecord incomeRecord) {
		super.save(incomeRecord);
	}
	
	@Transactional(readOnly = false)
	public void delete(IncomeRecord incomeRecord) {
		super.delete(incomeRecord);
	}
	
}